ALL:	build

clean:
	@rm *.hi *.o 

build:	TestWSDL TestProxyWSDL MakeGraph SAPHelpTools

MakeGraph:	MakeGraph.hs HixayGraph.hs XI/Directory/*.hs XI/Directory/WS/*.hs
	@ghc --make MakeGraph.hs

TestProxyWSDL:	TestProxyWSDL.hs XI/Directory/*.hs XI/Directory/WS/*.hs
	@ghc --make TestProxyWSDL.hs

TestWSDL:	TestWSDL.hs HixayGraph.hs XI/Directory/*.hs XI/Directory/WS/*.hs 
	@ghc --make TestWSDL.hs

SAPHelpTools:	SAPHelpTools.hs
	@ghc --make SAPHelpTools.hs

script_everything.dot script_scenario.dot:	TestWSDL.par HixayGraph.hs
	./TestWSDL +RTS -s 

script3.dot:	MakeGraph.hs MakeGraph
	./MakeGraph
	
script3.png:	script3.dot
	@dot -Tpng -oscript3.png script3.dot
	
script_everything.png:	script_everything.dot
	@dot -Tpng -oscript_everything.png script_everything.dot 

script_scenario.png:	script_scenario.dot
	@dot -Tpng -oscript_scenario.png script_scenario.dot 

